<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ page import="java.util.Date,com.wy.*"%>
<jsp:useBean id="connection" scope="page" class="com.wy.JDBConnection"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>
placard_show_config page
</title>
</head>
<%!
String sql;
Date date=new Date();
%>
<body bgcolor="#ffffff">
<%
request.setCharacterEncoding("UTF-8");
String title=request.getParameter("title");
String content=request.getParameter("content");
String author=request.getParameter("author");
CountTime countTime = new CountTime();
sql="update tb_konwledge set Title='"+title+"',Content='"+content+"',Author='"+author+"' where ID="+request.getParameter("id");;
boolean bb=connection.insert(sql);
if(bb)
{%>
<script language="javascript">
window.location.href="knowledge_select.jsp";
</script>
<%
}else
{
%>
<script language="javascript">
history.back();
</script>
<%
}
%>
</body>
</html>
